import request from '@/utils/request'
const baseUrl = '/data-subscription-algorithm-back/data-subscription-algorithm-back/v1.0/'
const Api = {
  algorithmModelBinding: function (params) {
    return request({
      url: baseUrl + 'algorithmModelBinding/algorithmModelBinding',
      method: 'put',
      params
    })
  },
  // 订阅-取消订阅
  subscribe: function (params) {
    return request({
      url: baseUrl + 'subscribe/subscribe',
      method: 'post',
      data: params
    })
  }
}
export { Api }
